file chooser: Set a CSS name
authorMatthias Clasen <mclasen@redhat.com>
Thu, 14 Jan 2016 04:35:22 +0000 (23:35 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 14 Jan 2016 04:41:38 +0000 (23:41 -0500)
The CSS name for GtkFileChooserWidget is ... filechooser.

gtk/gtkfilechooserwidget.c

index 3143497c32659f3dc4f837956a2e220695e20bed..01aeedf0772f3e54a817d52d6b0e7d4b721196a9 100644 (file)
  * It exposes the #GtkFileChooser interface, and you should
  * use the methods of this interface to interact with the
  * widget.
+ *
+ * # CSS nodes
+ *
+ * GtkFileChooserWidget has a single CSS node with name filechooser.
  */
 
 
@@ -8482,6 +8486,8 @@ gtk_file_chooser_widget_class_init (GtkFileChooserWidgetClass *class)
   gtk_widget_class_bind_template_callback (widget_class, rename_file_name_changed);
   gtk_widget_class_bind_template_callback (widget_class, rename_file_rename_clicked);
   gtk_widget_class_bind_template_callback (widget_class, rename_file_end);
+
+  gtk_widget_class_set_css_name (widget_class, "filechooser");
 }
 
 static void